<select name="data[Category][cat_parent_id]" id="cat_parent_id" class="form-control">
	<option value="0">--[upper_category]--</option>
	<?php
	foreach($listCategory as $cat):
	?>
		<option value="<?php echo $cat["id"]?>" >
		<?php
		for($j=0; $j < $cat["level"]; $j++) echo "---";
			echo $cat["cat_name"];
		?>
		</option>
	<?php
	endforeach;
	?>
</select>